package com.woniuxy.impl;

import com.woniuxy.Person;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class Jap implements Person {
    String name;
    Integer[] arr;
    List<Integer> num1;
    Map<String,Integer> age;
    Set<Integer> num2;
    List<Map<String,Integer>> money;

    public Jap() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer[] getArr() {
        return arr;
    }

    public void setArr(Integer[] arr) {
        this.arr = arr;
    }

    public List<Integer> getNum1() {
        return num1;
    }

    public void setNum1(List<Integer> num1) {
        this.num1 = num1;
    }

    public Map<String, Integer> getAge() {
        return age;
    }

    public void setAge(Map<String, Integer> age) {
        this.age = age;
    }

    public Set<Integer> getNum2() {
        return num2;
    }

    public void setNum2(Set<Integer> num2) {
        this.num2 = num2;
    }

    public List<Map<String, Integer>> getMoney() {
        return money;
    }

    public void setMoney(List<Map<String, Integer>> money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Jap{" +
                "name='" + name + '\'' +
                ", arr=" + Arrays.toString(arr) +
                ", num1=" + num1 +
                ", age=" + age +
                ", num2=" + num2 +
                ", money=" + money +
                '}';
    }

    @Override
    public void eat() {
        System.out.println("我是日本人，我不吃东西！");
    }
}
